package com.eastmelon.blog.dao;

import java.io.Serializable;
import java.util.List;

import com.eastmelon.blog.entity.Channel;
import com.eastmelon.blog.vo.ChannelCount;

public interface ChannelDao extends BaseDao<Channel>{
	public Integer maxPPos();//父类最大位置
	public Integer maxCPos();//子类最大位置
	public List<Channel> findByPid(Serializable pid);
	public List<Channel> findParent();
	public String getChannelName(Serializable id);
	public List<ChannelCount> findChannelCount();
}
